<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>基础选择器</title>
</head>
<body>
    <ul>
        <li>项目1</li>
        <li>项目2</li>
        <li class="selected">项目3</li>
        <li>项目4</li>
        <li>项目5</li>
        <li id="no6-item">项目6</li>
    </ul>
    <P>
        wdf
    </P>
    <style>
    ul{
        list-style-type:square;
    }
    li{
        color: red;
    }
    .selected{
        background-color: rgb(190, 150, 270);
    }
    #no6-item{
        color: pink;
    }

    *{
        margin: 10px;
        padding: 10px;
    }
    p{
        border: 1px red solid;
    }
    </style>
</body>
</html>
<body>
    <h1 class="blue bd">我的故事</h1>
    <div class="digest">
        <p id="first-p">这是一个<span>段落</span></p>
        <p>这是第二个段落</p>
        <p>这是第三个段落</p>
    </div>
    
    <p>另一个p</p>
    <p class="blue">另一个p</p>
    <style>
        p{
            color:red
        }
        .blue{
            color: blue;
        }
        .bd{
            border:1px rgb(191, 200, 90)solid
        }
        #first-p{
            text-decoration:underline;
            font-size: 2em;
            
        }
        *{
            margin: 0;
            padding: 0;
        }
        .digest *::first-letter{
           font-size: 2.5em;
        }
    </style>
</body>
</html>